Rails.application.routes.draw do
  resources :luckies do
    collection do
      get :pick_lucky
      get :upload_csv_data
      get :show_luck_users
      get :pick_anne_user
      get :download_lucky_list
      get :setting
      post :gen_lucky_user
      post :upload_csv_data
      post :update_setting_info
      post :gen_anne_lucky_user
    end
  end
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  root "luckies#index"
end
